package com.xteam.ecsystem.entities;


import java.io.Serializable;

/**
 * 商品属性表
 * @author tangkf
 * @date 2012-08-14
 */
public class BaseGoodsAttribute implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 类名称
	 */
	public static final String REF="BaseGoodsAttribute";

	/**
	 * 系统ID 的属性名
	 */
	public static final String PROP_BGAID="bgaId";

	/**
	 * 商品ID 的属性名
	 */
	public static final String PROP_BGAGOODS="bgaGoods";

	/**
	 * 商品类型 的属性名
	 */
	public static final String PROP_BGAGTYPE="bgaGtype";

	/**
	 * 类型属性 的属性名
	 */
	public static final String PROP_BGATATTRI="bgaTattri";

	/**
	 * 属性值 的属性名
	 */
	public static final String PROP_BGAVALUE="bgaValue";

	/**
	 * 属性价格 的属性名
	 */
	public static final String PROP_BGAPRICE="bgaPrice";

	/**
	 * 属性排序（大于等于0，倒序） 的属性名
	 */
	public static final String PROP_BGAORDER="bgaOrder";

	/**
	 * 系统ID
	 */
	private java.lang.String bgaId;

	/**
	 * 商品ID
	 */
	private java.lang.String bgaGoods;

	/**
	 * 商品类型
	 */
	private java.lang.String bgaGtype;

	/**
	 * 类型属性
	 */
	private java.lang.String bgaTattri;

	/**
	 * 属性值
	 */
	private java.lang.String bgaValue;

	/**
	 * 属性价格
	 */
	private java.lang.Double bgaPrice;

	/**
	 * 属性排序（大于等于0，倒序）
	 */
	private java.lang.Integer bgaOrder;

	/**
	 * 获取 系统ID 的属性值
	 * @return bgaId : 系统ID
	 * @author tangkf
	 */
	public java.lang.String getBgaId(){
		return this.bgaId;
	}

	/**
	 * 设置 系统ID 的属性值
	 * @param bgaId : 系统ID
	 * @author tangkf
	 */
	public void setBgaId(java.lang.String bgaId){
		this.bgaId	= bgaId;
	}

	/**
	 * 获取 商品ID 的属性值
	 * @return bgaGoods : 商品ID
	 * @author tangkf
	 */
	public java.lang.String getBgaGoods(){
		return this.bgaGoods;
	}

	/**
	 * 设置 商品ID 的属性值
	 * @param bgaGoods : 商品ID
	 * @author tangkf
	 */
	public void setBgaGoods(java.lang.String bgaGoods){
		this.bgaGoods	= bgaGoods;
	}

	/**
	 * 获取 商品类型 的属性值
	 * @return bgaGtype : 商品类型
	 * @author tangkf
	 */
	public java.lang.String getBgaGtype(){
		return this.bgaGtype;
	}

	/**
	 * 设置 商品类型 的属性值
	 * @param bgaGtype : 商品类型
	 * @author tangkf
	 */
	public void setBgaGtype(java.lang.String bgaGtype){
		this.bgaGtype	= bgaGtype;
	}

	/**
	 * 获取 类型属性 的属性值
	 * @return bgaTattri : 类型属性
	 * @author tangkf
	 */
	public java.lang.String getBgaTattri(){
		return this.bgaTattri;
	}

	/**
	 * 设置 类型属性 的属性值
	 * @param bgaTattri : 类型属性
	 * @author tangkf
	 */
	public void setBgaTattri(java.lang.String bgaTattri){
		this.bgaTattri	= bgaTattri;
	}

	/**
	 * 获取 属性值 的属性值
	 * @return bgaValue : 属性值
	 * @author tangkf
	 */
	public java.lang.String getBgaValue(){
		return this.bgaValue;
	}

	/**
	 * 设置 属性值 的属性值
	 * @param bgaValue : 属性值
	 * @author tangkf
	 */
	public void setBgaValue(java.lang.String bgaValue){
		this.bgaValue	= bgaValue;
	}

	/**
	 * 获取 属性价格 的属性值
	 * @return bgaPrice : 属性价格
	 * @author tangkf
	 */
	public java.lang.Double getBgaPrice(){
		return this.bgaPrice;
	}

	/**
	 * 设置 属性价格 的属性值
	 * @param bgaPrice : 属性价格
	 * @author tangkf
	 */
	public void setBgaPrice(java.lang.Double bgaPrice){
		this.bgaPrice	= bgaPrice;
	}

	/**
	 * 获取 属性排序（大于等于0，倒序） 的属性值
	 * @return bgaOrder : 属性排序（大于等于0，倒序）
	 * @author tangkf
	 */
	public java.lang.Integer getBgaOrder(){
		return this.bgaOrder;
	}

	/**
	 * 设置 属性排序（大于等于0，倒序） 的属性值
	 * @param bgaOrder : 属性排序（大于等于0，倒序）
	 * @author tangkf
	 */
	public void setBgaOrder(java.lang.Integer bgaOrder){
		this.bgaOrder	= bgaOrder;
	}

	/**
	 * 转换为字符串
	 * @author tangkf
	 */
	public String toString(){
		return "{" + "bgaId(系统ID)=" + bgaId + "," +"bgaGoods(商品ID)=" + bgaGoods + "," +"bgaGtype(商品类型)=" + bgaGtype + "," +"bgaTattri(类型属性)=" + bgaTattri + "," +"bgaValue(属性值)=" + bgaValue + "," +"bgaPrice(属性价格)=" + bgaPrice + "," +"bgaOrder(属性排序（大于等于0，倒序）)=" + bgaOrder + "}";
	}
	/**
	 * 转换为 JSON 字符串
	 * @author tangkf
	 */
	public String toJson(){
		return "{" + "bgaId:'" + bgaId + "'," +"bgaGoods:'" + bgaGoods + "'," +"bgaGtype:'" + bgaGtype + "'," +"bgaTattri:'" + bgaTattri + "'," +"bgaValue:'" + bgaValue + "'," +"bgaPrice:'" + bgaPrice + "'," +"bgaOrder:'" + bgaOrder + "'}";
	}
	
	/**
	 * 默认无参构造函数
	 */
	public BaseGoodsAttribute() {
	}
	
	/**
	 * 新增字段 属性名称
	 */
	private java.lang.String btaName;
	/**
	 * 新增字段 属性类型
	 */
	private java.lang.Integer btaAtype;
	/**
	 * 新增字段 属性状态
	 */
	private java.lang.Integer btaState;

	public java.lang.String getBtaName() {
		return this.btaName;
	}

	public void setBtaName(java.lang.String btaName) {
		this.btaName = btaName;
	}

	public java.lang.Integer getBtaAtype() {
		return this.btaAtype;
	}

	public void setBtaAtype(java.lang.Integer btaAtype) {
		this.btaAtype = btaAtype;
	}

	public java.lang.Integer getBtaState() {
		return this.btaState;
	}

	public void setBtaState(java.lang.Integer btaState) {
		this.btaState = btaState;
	}
	/**
	 * 全参构造函数（包含新增字段btaName,btaAtype,btaState）
	 * @param bgaId
	 * @param bgaGoods
	 * @param bgaGtype
	 * @param bgaTattri
	 * @param bgaValue
	 * @param bgaPrice
	 * @param bgaOrder
	 * @param btaName
	 * @param btaAtype
	 * @param btaState
	 */
	public BaseGoodsAttribute(String bgaId, String bgaGoods, String bgaGtype, String bgaTattri, String bgaValue
			, Double bgaPrice, Integer bgaOrder, String btaName, Integer btaAtype, Integer btaState) {
		super();
		this.bgaId = bgaId;
		this.bgaGoods = bgaGoods;
		this.bgaGtype = bgaGtype;
		this.bgaTattri = bgaTattri;
		this.bgaValue = bgaValue;
		this.bgaPrice = bgaPrice;
		this.bgaOrder = bgaOrder;
		this.btaName = btaName;
		this.btaAtype = btaAtype;
		this.btaState = btaState;
	}
	/**
	 * 构造函数（包含新增字段btaName,btaAtype,btaState）
	 * @param bgaId
	 * @param bgaValue
	 * @param bgaPrice
	 * @param btaName
	 * @param btaAtype
	 * @param btaState
	 */
	public BaseGoodsAttribute(String bgaId,String bgaValue, Double bgaPrice,String bgaTattri, String btaName, Integer btaAtype, Integer btaState) {
		super();
		this.bgaId = bgaId;
		this.bgaValue = bgaValue;
		this.bgaPrice = bgaPrice;
		this.bgaTattri = bgaTattri;
		this.btaName = btaName;
		this.btaAtype = btaAtype;
		this.btaState = btaState;
	}
}